import { defineComponent, ref } from 'vue'
import { useCounterStore } from '@/stores/counter'
import { Button } from 'ant-design-vue'
export default defineComponent({
  name: 'HomeCom',
  setup() {
    const counter = useCounterStore()
    console.log(import.meta.env, 'import.meta.env')

    return () => (
      <div>
        <span>首页</span>
        <span>{counter.k}</span>
        <Button type="primary">add</Button>
      </div>
    )
  },
})
